# -*- coding: utf-8 -*-

"""Unimail
@version: 0.14
@license: GPL 3.0 (see "license" file)
@author: Jose A. Jimenez
@contact: jajimc@gmail.com"""

def fix_text(text):
    """Removes all line breaks and replaces each tab by a blank.
    @param text: Text to process
    @type text: C{str}
    @return: Same text as the input, but without line breaks or tabs
    @rtype: C{str}"""
    return text.replace("\n", "").replace("\t", " ")
